package com.he.mapper;

import com.he.pojo.Id;
import com.he.pojo.Ip;
import com.he.pojo.Traffic;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TestMapper {

    @Select("select did, cnt from id ")
    public List<Id> selectId();

    @Select("select did, dip, cnt from ip")
    public List<Ip> selectIp();

    @Select("select did, cnt from traffic")
    public List<Traffic> selectTraffic();


}
